package com.alibaba.algo.cooperation.feign.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author fan.tianpeng
 * @date 2021/5/27 19:50
 */
@ApiModel("密码重置VO")
@Data
public class ResetUserPassWordReqVO extends CurrentUserReqVO{

    @ApiModelProperty("旧密码")
    @NotBlank(message = "旧密码为空")
    private String oldPasswd;

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码为空")
    private String passwd;
}
